import Vue from "vue";
import App from "./App.vue";
//引入mui
import "./static/mui/css/mui.min.css";
//引入mint-ui
import mint from "mint-ui";
Vue.use(mint);
import "../node_modules/mint-ui/lib/style.css";
//引入vue-resource
import resource from "vue-resource";
Vue.use(resource);
//引入路由
import VueRouter from "vue-router";
Vue.use(VueRouter);
//引入组建
import productMsg from "./component/productMsg.vue";
import productComment from "./component/productComment.vue";
var router = new VueRouter({
    routes:[
        //商品详情相关
        {
            path:"/msg",
            component:productMsg
        },
        {
            path:"/comments",
            component:productComment
        }
    ]
})
//引入全局样式
import "./static/css/common/common.css";
import "./static/css/common/adaptor.css";
new Vue({
    el: "#view",
    router:router,
    render: function(created) {
        return created(App);
    }
})